package com.newly.driver.sdk.device.video.cloud.device;

import com.newly.driver.sdk.device.video.constants.DeviceConstant;
import lombok.Data;

/**
 * @author gjm guan
 * @date 2021/10/15 14:04
 * @desc 创建设备请求参数
 */
@Data
public class CreateDeviceReq {

    /**
     * 设备名
     */
    private String name;

    /**
     * 设备ip
     */
    private String ip;

    /**
     * 端口
     */
    private Integer port;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 协议类型,目前支持GB28181和PRIVATE
     * 具体参考：com.newly.device.video.sdk.constants.DeviceConstant.VideoProtocol
     */
    private DeviceConstant.DeviceProtocol protocol;

    /**
     * 摄像头类型,IPC或NVR
     * 具体参考：com.newly.device.video.sdk.constants.DeviceConstant.VideoType
     */
    private DeviceConstant.DeviceType type;

    /**
     * 资源组id
     */
    private String resGroupId;

    /**
     * 备注
     */
    private String remark;

    public CreateDeviceReq() {
    }

}
